Skip to content

fix: remove SessionStart onboarding prompt hook#481

Merged
rdmueller merged 1 commit into
LLM-Coding:mainfrom
raifdmueller:fix/remove-onboarding-hook
May 14, 2026
Merged

fix: remove SessionStart onboarding prompt hook#481
rdmueller merged 1 commit into
LLM-Coding:mainfrom
raifdmueller:fix/remove-onboarding-hook

Conversation

@raifdmueller
Copy link
Copy Markdown
Contributor

@raifdmueller raifdmueller commented May 14, 2026

Problem

The plugin ships a SessionStart hook that prompts every 24h asking whether to onboard semantic anchors. This framing is misleading — semantic anchors are a prompting methodology, not a per-workspace feature to activate.

Fix

  • Remove plugins/semantic-anchors/hooks/hooks.json and scripts/prompt-onboarding.sh
  • Update plugin.json description to drop the "first-run Claude onboarding" claim
  • Update SKILL.md (both mirrors) to drop the marketplace-plugin hook mention

The semantic-anchor-onboarding skill remains available for users who explicitly want to install a persistent anchor block via the install script. It is now strictly user-initiated.

Test plan

  • Start a fresh Claude session in any workspace — no prompt appears
  • semantic-anchor-onboarding skill still invokable on demand

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Fehlerbehebungen

    • Entfernt: Automatische Onboarding-Eingaufforderung für Semantic Anchors beim Starten und Fortsetzen der Anwendung. Das System wird Benutzer nicht länger automatisch zur Konfiguration von Semantic Anchors auffordern.
  • Dokumentation

    • Aktualisiert: Plugin-Beschreibung durch Entfernung von Onboarding-bezogenen Verweisen.
    • Entfernt: Veraltete Hinweise zur ersten Inbetriebnahme aus der Dokumentation.

The plugin shipped a SessionStart hook that prompted Claude on every
fresh session (cooldown 24h) to ask whether the user wants to onboard
semantic anchors. This framing is misleading: semantic anchors are a
prompting methodology, not a tool that needs to be activated or
installed per workspace.

Changes:
- Remove plugins/semantic-anchors/hooks/hooks.json
- Remove plugins/semantic-anchors/scripts/prompt-onboarding.sh
- Update plugin.json description (drop "first-run Claude onboarding")
- Update SKILL.md (drop the marketplace-plugin-onboarding-hook mention)

The semantic-anchor-onboarding skill remains available for users who
explicitly want to install a persistent anchor block — but it is now
strictly user-initiated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 14, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 0aadb5d6-92d0-4210-9be1-807aa6f2a50c

📥 Commits

Reviewing files that changed from the base of the PR and between 598d1b6 and b4f9456.

📒 Files selected for processing (5)
  • plugins/semantic-anchors/hooks/hooks.json
  • plugins/semantic-anchors/plugin.json
  • plugins/semantic-anchors/scripts/prompt-onboarding.sh
  • plugins/semantic-anchors/skills/semantic-anchor-onboarding/SKILL.md
  • skill/semantic-anchor-onboarding/SKILL.md
💤 Files with no reviewable changes (4)
  • plugins/semantic-anchors/hooks/hooks.json
  • skill/semantic-anchor-onboarding/SKILL.md
  • plugins/semantic-anchors/skills/semantic-anchor-onboarding/SKILL.md
  • plugins/semantic-anchors/scripts/prompt-onboarding.sh

Walkthrough

Dieses PR entfernt die Onboarding-Prompt-Funktion, die beim Session-Start ausgelöst wurde. Es löscht die Hook-Konfiguration, das assoziierte Shell-Skript und aktualisiert die Dokumentation, um Verweise auf dieses Erststart-Verhalten zu entfernen.

Changes

Entfernung der Onboarding-Hook-Funktionalität

Layer / File(s) Zusammenfassung
Hook-Konfiguration und Skript-Entfernung
plugins/semantic-anchors/hooks/hooks.json, plugins/semantic-anchors/scripts/prompt-onboarding.sh
Der SessionStart-Hook, der das prompt-onboarding.sh-Skript ausführte, wird aus der Hook-Konfiguration entfernt. Das zugehörige Skript, das den Zustand der Semantic-Anchor-Marker überprüfte und Onboarding-Aufforderungen verwaltete, wird vollständig gelöscht.
Plugin-Metadaten-Aktualisierung
plugins/semantic-anchors/plugin.json
Die Plugin-Beschreibung wird aktualisiert, um die Erwähnung des "Prompting first-run Claude onboarding" zu entfernen und die Fokussierung auf die Semantic-Anchor-Kernfunktionalität zu behalten.
Dokumentations-Aktualisierungen
plugins/semantic-anchors/skills/semantic-anchor-onboarding/SKILL.md, skill/semantic-anchor-onboarding/SKILL.md
Verweise auf den optionalen Claude-Marketplace-Plugin-SessionStart-Hook für First-Start-Onboarding werden aus beiden Skill-Dokumentationsdateien entfernt.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • LLM-Coding/Semantic-Anchors#406: Dieses PR modifiziert das prompt-onboarding.sh-Skript zur POSIX-Kompatibilität, während das Hauptprojekt dasselbe Skript vollständig entfernt – direkter Konflikt bei derselben Datei/Funktionalität.
  • LLM-Coding/Semantic-Anchors#203: Dieses PR fügt die gesamte Onboarding-Hook-Infrastruktur hinzu (hooks/hooks.json + prompt-onboarding.sh), während das Hauptprojekt genau diese Komponenten entfernt – direkte Umkehrung der Änderungen.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Der Titel beschreibt präzise die Hauptänderung: das Entfernen des SessionStart-Onboarding-Hooks. Er ist konkret, aussagekräftig und fasst die wesentliche Modifikation zusammen.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@rdmueller rdmueller merged commit 0f060cb into LLM-Coding:main May 14, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants